package com.kaiwukj.android.ufamily.mvp.ui.page.account.login;

import androidx.annotation.IntDef;

public class LoginWayItemEntity {
    public static final int WECHAT = 1;
    public static final int ALIPAY = 2;
    public static final int ONEKEY = 3;

    @IntDef({WECHAT, ALIPAY, ONEKEY})
    public @interface Way {
    }

    private int way;
    private int resId;
    private String text;

    public LoginWayItemEntity() {
    }

    public LoginWayItemEntity(@Way int way, int resId, String text) {
        this.way = way;
        this.resId = resId;
        this.text = text;
    }

    public int getWay() {
        return way;
    }

    public void setWay(@Way int way) {
        this.way = way;
    }

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
